package com.len.service.impl;

import com.len.base.BaseMapper;
import com.len.base.impl.BaseServiceImpl;
import com.len.entity.TQuotationHandle;
import com.len.mapper.QuotationHandleMapper;
import com.len.service.QuotationHandleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service

public class QuotationHandleServiceImpl extends BaseServiceImpl<TQuotationHandle,String> implements
        QuotationHandleService {

    @Autowired
    private QuotationHandleMapper quotationHandleMapper;
    @Override
    public BaseMapper<TQuotationHandle, String> getMappser() {
        return quotationHandleMapper;
    }

    public void delAllByOrderNo(String orderNo){
        quotationHandleMapper.delAllByOrderNo(orderNo);
    }

    public List<TQuotationHandle> selectAllByOrderNo(String orderNo){
        return quotationHandleMapper.selectAllByOrderNo(orderNo);
    }
}
